var is_loading = !1,
is_no_more = !1,
p = 1;
Page({
  data: {
    account: 0,
  },
  onLoad: function (t) {
    getApp().page.onLoad(this, t);
    var e = this;
    is_loading = is_no_more = !1, p = 1;
    this.loadData();
  },
  //页面数据
  loadData: function () {
    let o = this;
    console.log(o.data);
    is_loading ||(is_loading = !0, getApp().request({
      url: getApp().api.user.get_delivery_account,
      data: {
      },
      success: function (t) {
        if (0 == t.code) {
          o.setData({
            account: t.data.account,
          });
        }
      },
      complete: function () {
        is_loading = !1;
      }
    }));
  },
  //跳转页面
  goUrl: function (e) {
    var gopage = e.currentTarget.dataset.url;
    if (!gopage) {
      return;
    }
    getApp().core.navigateTo({
      url: gopage
    });
  },
})
